package thinkinginjava.net.mindview.util;

import java.util.HashMap;
import java.util.Map;

public class Countries {
	public static final String[][] DATA = {
		//Africa
		{"GERMANY","Berlin"},{"FRANCE","Paris"},
		
		//Asia
		{"CHINA","Beijing"},{"JAPAN","Tokyo"}
	};
	
	static HashMap<String, String> m = new HashMap<String, String>();
	
	public static Map<String,String> capitals() {
		for(int index = 0; index < DATA.length; index++) {
			m.put(DATA[index][0], DATA[index][1]);
		}
		return m;
	}
}
